var width = $(".issue-course>ul>li").width();
$(".issue-course>ul>li>span").css("width",(width-50)*1.5+"px");
$(".issue-course>ul>li:nth-child(2)>span").css("right",width/2+25+"px");
$(".issue-course>ul>li:nth-child(3)>span").css("right","50px");
//点击确认进货按钮
/*$(".submit").click(function(){
	//$(".my-modal").css("display","block");
})*/
$(".my-modal>div>div>div>button:last-child").click(function(){
	$(".my-modal").css("display","none");
})
$(".subscribe-nav>ul>li").click(function(){
	var L=$("body").width();
	$(".subscribe-nav>ul>li").removeClass("active");
	$(this).addClass("active");
	var index=$(this).index();
	/*console.log(index);*/
	var x=-L*index
	if(index==0){
		//$(".subscribe-box").css("display","none");
		//$(".issue").css("display","block");
		$(".service-box>ul").css("transform","translateX("+x+"px)");
		$(".subscribe-nav>p>span").css("left","10%");
	}else if(index==1){
		//$(".subscribe-box").css("display","none");
		//$(".subscribe").css("display","block");
		$(".service-box>ul").css("transform","translateX("+x+"px)");
		$(".subscribe-nav>p>span").css("left","35%");
	}else if(index==2){
		//$(".subscribe-box").css("display","none");
		//$(".zbidding").css("display","block");
		$(".service-box>ul").css("transform","translateX("+x+"px)");
		$(".subscribe-nav>p>span").css("left","60%");
	}else if(index==3){
		//$(".subscribe-box").css("display","none");
		//$(".putaway").css("display","block");
		$(".service-box>ul").css("transform","translateX("+x+"px)");
		$(".subscribe-nav>p>span").css("left","85%");
	}
})
